<!--
 * @Description: 
 * @version: 
 * @Author: Eve
 * @Date: 2019-10-08 13:00:36
 * @LastEditors: Eve
 * @LastEditTime: 2019-10-08 13:03:11
 -->
<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>

<body>
  <div class="layout">
    <div class=" left">left</div>
    <div class=" right">center</div>
  </div>

  <style>
    .layout {
      display: table;
      width: 100%;
    }

    .layout div {
      display: table-cell;
    }

    .left {
      width: 50%;
      height: 200px;
      background: red;
    }

    .right {
      width: 50%;
      background: yellow;
    }
  </style>
</body>

</html>